#VRML V2.0 utf8
#WorldInfo
#{
#	title "Dekany"
#	info
#	[
#		"Author: Robert Walker- e-mail: vrml@rcwalker.freeserve.co.uk"
#	]
#}
Background {skyColor 0 0 1}

#ratio0 n2*n3*n4 [n2sn3sn4]
#ratio1 n2*n3*n5 [n2sn3sn5]
#ratio2 n3*n4*n5 [n3sn4sn5]
#ratio3 n1*n3*n5 [n1sn3sn5]
#ratio4 n1*n3*n4 [n1sn3sn4]
#ratio5 n1*n2*n3 [n1sn2sn3]
#ratio6 n2*n4*n5 [n2sn4sn5]
#ratio7 n1*n2*n4 [n1sn2sn4]
#ratio8 n1*n2*n5 [n1sn2sn5]
#ratio9 n1*n4*n5 [n1sn4sn5]
#xvalue xx

#Method for making VRML from template - replace all formulae including xx, then xx itself
#to get any perspective view through 3D face to centre, with the central tetrahedron 3D faces 
#shown in red, and the other four in blue. (set it to 0.5 for non perspective view)

#sort_audio 
#- this is an instruction to Virtual Flower to change the order of tokens in the
#audio clip file names so that they are alphanumeric, e.g change 5s7_3s5_3s7.mid to 3s5_3s7_5s7.mid etc.

Viewpoint
{
	description "n2*n3*n4"
	position 5 0 0
	orientation 0 1 0 1.5708
	fieldOfView 0.785398
}
Viewpoint
{
	position 0 0 5
	description "n3*n4*n5"
	fieldOfView 0.785398
}

Viewpoint
{
	description "n1*n3*n5"
	position -5 0 0
	orientation 0 1 0 -1.5708
	fieldOfView 0.785398
}

Viewpoint
{
	description "n1*n2*n3"
	position 0 0 -5
	orientation 0 1 0 -3.14159
	fieldOfView 0.785398
}



DirectionalLight
{
	direction -0.5 -1 0
	intensity 0.75
}
DirectionalLight
{
	direction 0.5 1 0
	intensity 0.75
}
Group
{ 
	children
	[
		Transform 
		{
			translation 0 1.6 0
			scale 0.3 0.3 0.3
			children
			[
    			Billboard
				{
					axisOfRotation 0 0 0
					children
					[
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
    						geometry Text
    						{
    							string "Dekany"
    							fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
    						}
    					}
					]
				}
			]
		}
		Transform 
		{
			rotation 0 1 0.6 0.5
			children  
			[
				#8 triads
				Viewpoint
				{
					description "n3*n4*n5 n2*n3*n4 n2*n3*n5"
					position 2.88675 2.88675 2.88675
					orientation -0.590284 0.769274 0.244504 0.987861
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n2*n3*n4 n1*n2*n3 n2*n3*n5"
					position 2.88675 2.88675 -2.88675
					orientation -0.124491 0.945607 0.300549 2.39496
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n2*n3*n4 n1*n2*n3 n1*n3*n4"
					position 2.88675 -2.88675 -2.88675
					orientation 0.124491 0.945607 -0.300549 2.39496
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n1*n2*n3 n1*n3*n5 n1*n3*n4"
					position -2.88675 -2.88675 -2.88675
					orientation -0.124491 0.945607 -0.300549 -2.39496
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n1*n3*n5 n1*n2*n3 n2*n3*n5"
					position -2.88675 2.88675 -2.88675
					orientation 0.124491 0.945607 0.300549 -2.39496
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n3*n4*n5 n1*n3*n5 n2*n3*n5"
					position -2.88675 2.88675 2.88675
					orientation 0.590284 0.769274 0.244504 -0.987861
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n3*n4*n5 n1*n3*n5 n1*n3*n4"
					position -2.88675 -2.88675 2.88675
					orientation -0.590284 0.769274 -0.244504 -0.987861
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n3*n4*n5 n2*n3*n4 n1*n3*n4"
					position 2.88675 -2.88675 2.88675
					orientation 0.590284 0.769274 -0.244504 0.987861
					fieldOfView 0.785398
				}
				#4 viewpoints at location for text for vertices of inner tetrahedron.
				#because it gives good view of inner triads and tetrad
				Viewpoint
				{
					description "n2*n4*n5"
					position (1.1*xx) (1.1*xx) (1.1*xx)
					orientation -0.590284 0.769274 0.244504 0.987861
					fieldOfView 0.785398
				}
				Viewpoint
				{
					description "n1*n2*n4"
					position (1.1*xx) -(1.1*xx) -(1.1*xx)
					orientation 0.124491 0.945607 -0.300549 2.39496
					fieldOfView 0.785398
				}
				Viewpoint
				{
					description "n1*n2*n5"
					position -(1.1*xx) (1.1*xx) -(1.1*xx)
					orientation 0.124491 0.945607 0.300549 -2.39496
					fieldOfView 0.785398
				}
				Viewpoint
				{
					description "n1*n4*n5"
					position -(1.1*xx) -(1.1*xx) (1.1*xx)
					orientation -0.590284 0.769274 -0.244504 -0.987861
					fieldOfView 0.785398
				}
				#12 diads
				Viewpoint
				{
					description "n2*n3*n4 n2*n3*n5"
					position 3.53553 3.53553 0
					orientation -0.357407 0.862856 0.357407 1.71777
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n2*n3*n4 n1*n3*n4"
					position 3.53553 -3.53553 0
					orientation 0.357407 0.862856 -0.357407 1.71777
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n1*n3*n5 n1*n3*n4"
					position -3.53553 -3.53553 0
					orientation -0.357407 0.862856 -0.357407 -1.71777
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n1*n3*n5 n2*n3*n5"
					position -3.53553 3.53553 0
					orientation 0.357407 0.862856 0.357407 -1.71777
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n3*n4*n5 n1*n3*n5"
					position -3.53553 0 3.53553
					orientation 0 1 0 -0.785398
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n3*n4*n5 n2*n3*n4"
					position 3.53553 0 3.53553
					orientation 0 1 0 0.785398
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n2*n3*n4 n1*n2*n3"
					position 3.53553 0 -3.53553
					orientation 0 1 0 2.35619
					fieldOfView 0.785398
				}


				Viewpoint
				{
					description "n1*n3*n5 n1*n2*n3"
					position -3.53553 0 -3.53553
					orientation 0 1 0 -2.35619
					fieldOfView 0.785398
				}


				Viewpoint
				{
					description "n1*n2*n3 n1*n3*n4"
					position 0 -3.53553 -3.53553
					orientation 0 0.92388 -0.382683 -3.14159
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n1*n2*n3 n2*n3*n5"
					position 0 3.53553 -3.53553
					orientation 0 0.92388 0.382683 -3.14159
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n3*n4*n5 n2*n3*n5"
					position 0 3.53553 3.53553
					orientation 1 0 0 -0.785398
					fieldOfView 0.785398
				}

				Viewpoint
				{
					description "n3*n4*n5 n1*n3*n4"
					position 0 -3.53553 3.53553
					orientation 1 0 0 0.785398
					fieldOfView 0.785398
				}
     			Transform 
    			{
    				translation -(1.1*xx) -(1.1*xx) (1.1*xx)
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
    							DEF Touch_n1sn4sn5 TouchSensor{}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
        							geometry Text
        							{
        								string "n1*n4*n5"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
        							}
    							}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
        							geometry Sphere{radius 0.5}
    							}
    						]
    					}
    				]
    			}

     			Transform 
    			{
    				translation -(1.1*xx) (1.1*xx) -(1.1*xx)
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
    							DEF Touch_n1sn2sn5 TouchSensor{}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
        							geometry Text
        							{
        								string "n1*n2*n5"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
        							}
    							}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
        							geometry Sphere{radius 0.5}
    							}
    						]
    					}
    				]
    			}

     			Transform 
    			{
    				translation (1.1*xx) -(1.1*xx) -(1.1*xx)
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
    							DEF Touch_n1sn2sn4 TouchSensor{}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
        							geometry Text
        							{
        								string "n1*n2*n4"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
        							}
    							}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
        							geometry Sphere{radius 0.5}
    							}
    						]
    					}
    				]
    			}
     			Transform 
    			{
    				translation (1.1*xx) (1.1*xx) (1.1*xx)
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
    							DEF Touch_n2sn4sn5 TouchSensor{}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
        							geometry Text
        							{
        								string "n2*n4*n5"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
        							}
    							}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
        							geometry Sphere{radius 0.5}
    							}
    						]
    					}
    				]
    			}
     			Transform 
    			{
    				translation 1.1 0 0
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
    							DEF Touch_n2sn3sn4 TouchSensor{}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
        							geometry Text
        							{
        								string "n2*n3*n4"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
        							}
    							}
    							Shape
    							{
        							appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
        							geometry Sphere{radius 0.5}
    							}
    						]
    					}
    				]
    			}
    			Transform 
    			{
    				translation -1.1 0 0
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
								DEF Touch_n1sn3sn5 TouchSensor{}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
    								geometry Text
    								{
        								string "n1*n3*n5"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
    								}
    							}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
    								geometry Sphere{radius 0.5}
    							}
							]
						}
    				]
    			}
    			Transform 
    			{
    				translation 0 1.1 0
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
								DEF Touch_n2sn3sn5 TouchSensor{}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
    								geometry Text
    								{
        								string "n2*n3*n5"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
    								}
    							}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
    								geometry Sphere{radius 0.5}
    							}
							]
						}
					]

    			}
    			Transform 
    			{
    				translation 0 -1.1 0
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
								DEF Touch_n1sn3sn4 TouchSensor{}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
    								geometry Text
    								{
        								string "n1*n3*n4"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
    								}
    							}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
    								geometry Sphere{radius 0.5}
    							}
							]
						}
    				]
    			}
    			Transform 
    			{
    				translation 0 0 1.1
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
								DEF Touch_n3sn4sn5 TouchSensor{}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
    								geometry Text
    								{
        								string "n3*n4*n5"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
    								}
    							}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
    								geometry Sphere{radius 0.5}
    							}
							]
						}
    				]
    			}
    			Transform 
    			{
    				translation 0 0 -1.1
					scale 0.2 0.2 0.2
    				children
    				[
    					Billboard
						{
							axisOfRotation 0 0 0
    						children
    						[
								DEF Touch_n1sn2sn3 TouchSensor{}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 1 } } # white text 
    								geometry Text
    								{
        								string "n1*n2*n3"
        								fontStyle FontStyle{justify ["MIDDLE","MIDDLE"]}
    								}
    							}
    							Shape
    							{
    								appearance Appearance { material Material {diffuseColor 1 1 0 transparency  1} } 
    								geometry Sphere{radius 0.5}
    							}
							]
						}
    				]
   				}
				#triads
     			Transform 
    			{
    				translation xx/3 -xx/3 xx/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn4sn5_n1sn2sn4_n1sn4sn5 TouchSensor{}
    					DEF TriadSphere1 Shape
    					{
        					appearance Appearance { material Material {diffuseColor 0 0 0.6 transparency  0} } 
        					geometry Sphere{radius 0.3}
    					}
    				]
    			}
     			Transform 
    			{
    				translation -xx/3 -xx/3 -xx/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n1sn2sn4_n1sn2sn5_n1sn4sn5 TouchSensor{}
						USE TriadSphere1
    				]
    			}
     			Transform 
    			{
    				translation -xx/3 xx/3 xx/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn4sn5_n1sn2sn5_n1sn4sn5 TouchSensor{}
						USE TriadSphere1
    				]
    			}
     			Transform 
    			{
    				translation xx/3 xx/3 -xx/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn4sn5_n1sn2sn4_n1sn2sn5 TouchSensor{}
						USE TriadSphere1
    				]
    			}
     			Transform 
    			{
    				translation (1+xx)/3 xx/3 (1+xx)/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn4_n3sn4sn5_n2sn4sn5 TouchSensor{}
    					DEF TriadSphere2 Shape
    					{
        					appearance Appearance { material Material {diffuseColor 1 1 0 transparency  0} } 
        					geometry Sphere{radius 0.3}
    					}
    				]
    			}
     			Transform 
    			{
    				translation xx/3 (1+xx)/3 (1+xx)/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn5_n3sn4sn5_n2sn4sn5 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation (1+xx)/3 (1+xx)/3 xx/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn4_n2sn3sn5_n2sn4sn5 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation (1+xx)/3 -(1+xx)/3 -xx/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn4_n1sn3sn4_n1sn2sn4 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation xx/3 -(1+xx)/3 -(1+xx)/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n1sn3sn4_n1sn2sn3_n1sn2sn4 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation (1+xx)/3 -xx/3 -(1+xx)/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn4_n1sn2sn3_n1sn2sn4 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation -xx/3 (1+xx)/3 -(1+xx)/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn5_n1sn2sn3_n1sn2sn5 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation -(1+xx)/3 (1+xx)/3 -xx/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn5_n1sn3sn5_n1sn2sn5 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation -(1+xx)/3 xx/3 -(1+xx)/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n1sn3sn5_n1sn2sn3_n1sn2sn5 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation -xx/3 -(1+xx)/3 (1+xx)/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n3sn4sn5_n1sn3sn4_n1sn4sn5 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation -(1+xx)/3 -(1+xx)/3 xx/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n1sn3sn5_n1sn3sn4_n1sn4sn5 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation -(1+xx)/3 -xx/3 (1+xx)/3
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n3sn4sn5_n1sn3sn5_n1sn4sn5 TouchSensor{}
						USE TriadSphere2
    				]
    			}
     			Transform 
    			{
    				translation 0.5 0.5 0.5
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn4_n2sn3sn5_n3sn4sn5 TouchSensor{}
    					DEF TriadSphere3 Shape
    					{
        					appearance Appearance { material Material {diffuseColor 1 0 0 transparency  0} } 
        					geometry Sphere{radius 0.3}
    					}
    				]
    			}
     			Transform 
    			{
    				translation 0.5 -0.5 -0.5
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn4_n1sn3sn4_n1sn2sn3 TouchSensor{}
    					USE  TriadSphere3
    				]
    			}
     			Transform 
    			{
    				translation  -0.5 -0.5 0.5
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n3sn4sn5_n1sn3sn5_n1sn3sn4 TouchSensor{}
    					USE  TriadSphere3
    				]
    			}
     			Transform 
    			{
    				translation  -0.5 0.5 -0.5
					scale 0.2 0.2 0.2
    				children
    				[
    					DEF Touch_n2sn3sn5_n1sn3sn5_n1sn2sn3 TouchSensor{}
    					USE  TriadSphere3
    				]
    			}
     			Transform 
    			{
    				translation 0.41 -0.41 -0.41
    				children
    				[
    					DEF Touch_n2sn3sn4_n1sn3sn4_n1sn2sn3_n1sn2sn4 TouchSensor{}
    					DEF TetradSphere Shape
    					{
        					appearance Appearance { material Material {diffuseColor 0.8 0.8 0.8 transparency 0.1} }
        					geometry Sphere{radius 0.1}
    					}
					]
				}
     			Transform 
    			{
    				translation -0.41 -0.41 0.41
    				children
    				[
    					DEF Touch_n3sn4sn5_n1sn3sn5_n1sn3sn4_n1sn4sn5 TouchSensor{}
    					USE TetradSphere
					]
				}
     			Transform 
    			{
    				translation -0.41 0.41 -0.41
    				children
    				[
    					DEF Touch_n2sn3sn5_n1sn3sn5_n1sn2sn3_n1sn2sn5 TouchSensor{}
    					USE TetradSphere
					]
				}
     			Transform 
    			{
    				translation 0 0 0
    				children
    				[
    					DEF Touch_n2sn4sn5_n1sn2sn4_n1sn2sn5_n1sn4sn5 TouchSensor{}
    					USE TetradSphere
					]
				}
     			Transform 
    			{
    				translation 0.41 0.41 0.41
    				children
    				[
    					DEF Touch_n2sn3sn4_n2sn3sn5_n3sn4sn5_n2sn4sn5 TouchSensor{}
    					USE TetradSphere
					]
				}
    			Shape
    			{
    				appearance Appearance { material Material {diffuseColor 0 0 0.8 transparency  0} }
    				geometry  DEF Octahedron IndexedFaceSet
    				{
    					solid FALSE
    					coord DEF OctahedronVertices Coordinate
    					{
    						point
    						[
								1 0 0, #0
								0 1 0, #1
								0 0 1, #2
								-1 0 0, #3
								0 -1 0, #4
								0 0 -1, #5
								xx xx xx	#6
								xx -xx -xx #7
								-xx xx -xx #8
								-xx -xx xx #9
    						]
    					}

						coordIndex
						[
#    						0,1,2,-1, #complete list of outer octahedron faces, for ref.
#    						1,3,2,-1,
#    						3,4,2,-1,
#    						4,0,2,-1,
#    						0,1,5,-1,
#    						1,3,5,-1,
#    						3,4,5,-1,
#    						4,0,5,-1,
						]
    				}
    			}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n1sn3sn5_n1sn3sn4_n1sn2sn3 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 0 0 0.8 transparency  0} }
    						geometry  IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								3,4,5,-1,
    							]
    						}
						}
					]
				}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n2sn3sn4_n2sn3sn5_n1sn2sn3 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 0 0 0.8 transparency  0} }
    						geometry  IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								0,1,5,-1,
    							]
    						}
						}
					]
				}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n2sn3sn4_n3sn4sn5_n1sn3sn4 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 0 0 0.8 transparency  0} }
    						geometry  IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								0,2,4,-1,
    							]
    						}
						}
					]
				}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n2sn3sn5_n3sn4sn5_n1sn3sn5 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 0 0 0.8 transparency  0} }
    						geometry  IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								1,2,3,-1,
    							]
    						}
						}
					]
				}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n2sn3sn4_n2sn4sn5_n1sn2sn4 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 1 0 0 transparency  0} }
    						geometry  IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								0,6,7,-1,
    							]
    						}
						}
					]
				}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n1sn2sn3_n1sn2sn4_n1sn2sn5 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 1 0 0 transparency  0} }
    						geometry   IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								7,8,5,-1,
     							]
    						}
						}
					]
				}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n1sn3sn5_n1sn2sn5_n1sn4sn5 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 1 0 0 transparency  0} }
    						geometry   IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								3,8,9,-1,
     							]
    						}
						}
					]
				}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n3sn4sn5_n2sn4sn5_n1sn4sn5 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 1 0 0 transparency  0} }
    						geometry   IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								2,6,9,-1,
     							]
    						}
						}
					]
				}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n2sn3sn5_n2sn4sn5_n1sn2sn5 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 1 0 0 transparency  0} }
    						geometry   IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								1,6,8,-1,
     							]
    						}
						}
					]
				}
     			Transform 
    			{
    				children
    				[
    					DEF Touch_n1sn3sn4_n1sn2sn4_n1sn4sn5 TouchSensor{}
    					Shape
    					{
    						appearance Appearance { material Material {diffuseColor 1 0 0 transparency  0} }
    						geometry   IndexedFaceSet
    						{
    							solid FALSE
    							coord USE OctahedronVertices
    							coordIndex
    							[
    								4,7,9,-1,
     							]
    						}
						}
					]
				}
     			Shape
    			{
    				appearance Appearance { material Material {emissiveColor 1 1 0} } 
    				geometry DEF ThisPolysLines IndexedLineSet
    				{
    					coord USE OctahedronVertices
    					coordIndex
    					[
							6,7,-1,	#6,7,0,
							7,0,-1,
							0,6,-1,
							7,8,-1,	#7,8,5,
							8,5,-1,
							5,7,-1,
							8,9,-1,	#8,9,3,
							9,3,-1,
							3,8,-1,
							9,6,-1,	#9,6,2,
							6,2,-1,
							2,9,-1,
							6,8,-1,	#6,8,1,
							8,1,-1,
							1,6,-1,
							7,9,-1,	#7,9,4,
							9,4,-1,
							4,7,-1,
							2,1,-1,	
							2,3,-1,
							2,4,-1,
							2,0,-1,
							1,3,-1,
							3,4,-1,
							4,0,-1,
							0,1,-1,
							5,0,-1,
							5,1,-1,
							5,3,-1,
							5,4,-1,
    					]
    				}
    			}
			]
		}
	]  
}
